import http from "@/api/axios";

//获取汇率列表
export const getListApi = (data: Base.GeneraDataType) => {
  return http({
    method: "post",
    url: "/base/biz/bizExchangeRate/page",
    data
  });
};

//汇率-修改状态
export const updateStatusApi = (data: ExchangeRateManagement.SearchForm) => {
  return http({
    method: "post",
    url: "/base/biz/bizExchangeRate/updateStatus",
    data
  });
};

//新增
export const addBizExchangeRateApi = (data: ExchangeRateManagement.SearchForm) => {
  return http({
    method: "post",
    url: "/base/biz/bizExchangeRate/add",
    data
  });
};

//修改
export const updateBizExchangeRateApi = (data: ExchangeRateManagement.SearchForm) => {
  return http({
    method: "post",
    url: "/base/biz/bizExchangeRate/update",
    data
  });
};
